package com.evil;

import com.evil.common.core.constant.AppConstant;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 日志服务
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(AppConstant.BASE_PACKAGES)
@MapperScan(AppConstant.BASE_PACKAGES + ".*.mapper")
@ConfigurationPropertiesScan(AppConstant.BASE_PACKAGES)
public class LogApplication {
    public static void main(String[] args) {
        SpringApplication.run(LogApplication.class, args);
    }
}
